package com.linksoul.mapper;


import com.linksoul.domain.MbtiRequestLog;
import com.linksoul.domain.TestDimensionDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2025/05/01/15:30
 **/
@Mapper
public interface MbtiRequestLogMapper {
    void insert(MbtiRequestLog log);
    void updateStatus(@Param("requestId") String requestId,
                      @Param("status") String status,
                      @Param("endTime") Date endTime,
                      @Param("duration") Integer duration,
                      @Param("questionCount") Integer questionCount,
                      @Param("type") String type);
    TestDimensionDetail getDimensionDetail(@Param("requestId") String requestId);
}
